package com.ruoyi.project.system.domain;

import com.ruoyi.framework.web.domain.BaseEntity;

import java.util.List;

public class SysCategory extends BaseEntity {

    private static final long serialVersionUID = 1L;

    private Long categoryId;

    private Long parentId;

    private Integer count;
    /**
     * 分类名称
     */
    private String name;
    /**
     * 等级
     */
    private Integer level;
    /**
     * 分类图片
     */
    private String image;

    private List<SysCategory> subCategories;


    public Long getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(Long categoryId) {
        this.categoryId = categoryId;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public List<SysCategory> getSubCategories() {
        return subCategories;
    }

    public void setSubCategories(List<SysCategory> subCategories) {
        this.subCategories = subCategories;
    }
}
